import ReactDOM from 'react-dom/client'
import { RouterProvider } from 'react-router-dom'

import router from './router';

const root = ReactDOM.createRoot(document.getElementById('root'))
// root.render(<App />)

// 绑定路由
// 注意：一定要安装路由依赖："react-router-dom": "^7.9.4"
root.render(
    <RouterProvider router={router} />
)

